<template>
  <div>
      <el-table :data="tableData" style="width: 100%">
      <el-table-column type="index"> </el-table-column>
      <el-table-column prop="url" label="图片" width="180">
        <template slot-scope="scope">
          <img width="50px" :src="scope.row.url" alt="" />
        </template>
      </el-table-column>
      <el-table-column prop="name" label="地址"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
    props:{
        tableData:{
            type: Array,
            default: ()=>[]
        }
    },
    data(){
        return{
        }
    }
}
</script>

<style>

</style>